<template>
    <div class="goods-wrap" :id="goodsItem.id">
      <div class="label">
        日用百货
      </div>
      <div class="goods-item-line marginB16">
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
      </div>
      <div class="goods-item-line marginB16">
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
        <div class="goods-item-wrap">
            <div class="img">
                <img src="@/assets/fun.png" alt="">
            </div>
            <div class="title">
                我是标题
            </div>
            <div class="price">
                ￥15
            </div>
        </div>
      </div>
      <div class="more-wrap flex-center">
        <div class="more small-hand flex-center">
            <div class="icon">
                <a-icon type="down" />
            </div>
            展开查看更多
        </div>
      </div>
    </div>
  </template>
  
  <script>
  
  export default {
    name: 'goods',
    components: {
  
    },
    props:['goodsItem']
  }
  </script>
  
  <style scoped lang="less">
  .marginB16{
    margin-bottom: 16px;
  }
  .goods-wrap{
    .label{
        font-size: 25px;
        font-weight: 600;
        text-align: center;
        margin-bottom: 10px;
    }
    .goods-item-line{
        display: flex;
        .goods-item-wrap{
            cursor: pointer;
            margin-right: 10px;
            border-radius: 5px;
            padding: 10px;
            background-color: aliceblue;
            img{
                border-radius: 10px;
            }
            .title{
                font-weight: 500;
            }
            .price{
                color: red;
            }
        }
        .goods-item-wrap:last-of-type{
            margin-right: 0;
        }
    }
    .more-wrap{
        width: 100%;
        .more{
            color: gray;
            font-size: 12px;
            .icon{
                font-size: 25px;
            }
        }
    }
  }
  </style>
  